package org.jeecg.glr.service.impl;

import org.jeecg.glr.entity.GlrPattern;
import org.jeecg.glr.mapper.GlrPatternMapper;
import org.jeecg.glr.service.IGlrPatternService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: 网关模式
 * @Author: jeecg-boot
 * @Date:   2020-03-09
 * @Version: V1.0
 */
@Service
public class GlrPatternServiceImpl extends ServiceImpl<GlrPatternMapper, GlrPattern> implements IGlrPatternService {

    @Resource GlrPatternMapper glrPatternMapper;

    @Override
    public List<GlrPattern> getByGateWayCode(String gateWayCode) {
        return null;
    }

    @Override
    public List<String> getPatternByGateWayCode(String gateWayCode) {
        return glrPatternMapper.getPatternByGateWayCode(gateWayCode);
    }
}
